@charset "utf-8";

:root {
  --tile-main-color: 0, 149, 135;
  --tile-highlight-color: 255, 255, 255;
  --tile-shadow-color: 100, 100, 100;
}

.layui-layer-tiles{
  position: absolute;
  top: 0;
  right: 0;
  /* 这个值根据实际情况修改 */
  left: 0px;
  bottom: 0;
  overflow: auto;
  user-select: none;
  color: rgba(var(--tile-highlight-color), 1);
  cursor: pointer;
}

.layui-layer-struct,
.layui-layer-tile,
.layui-layer-tile-dynamic,
.layui-layer-extra{
  position: absolute;
}

.layui-layer-struct{
  width: 100%;
  transition: top .5s;
}

.layui-layer-tile{
  background: transparent;
  transition: all .5s;
  transition-property: top, left;
}

.layui-layer-tile:hover{
  border: 2px solid rgba(var(--tile-highlight-color), 1);
  box-sizing: border-box;
}

.layui-layer-extra{
  width: 100%;
  height: 50px;
}

.layui-layer-tile-dynamic{
  background-color: rgba(var(--tile-shadow-color), 1);
  transition: all .5s;
  z-index: -1;
}

.layui-layer-moving{
  z-index: 99;
  transition: none;
}

.layui-layer-tile-name{
  width: 100%;
  height: 100%;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  white-space: nowrap;
  pointer-events: none;
}

.layui-layer-tile-name img{
  width: 100%;
  height: 100%;
  vertical-align: inherit;
}

.layui-layer-struct-name{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  /* 这个值是在常量里面规定的高度 */
  height: 30px;
}

.layui-layer-struct-title,
.layui-layer-struct-label,
.layui-layer-struct-edit{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  pointer-events: none;
}

.layui-layer-struct-label,
.layui-layer-struct-edit{
  display: none;
}

.layui-layer-struct-name:hover .layui-layer-struct-title{
  display: none;
}

.layui-layer-struct-name:hover .layui-layer-struct-label{
  display: block;
}

.layui-layer-struct-select.layui-layer-struct-name .layui-layer-struct-label{
  display: none;
}

.layui-layer-struct-select.layui-layer-struct-name .layui-layer-struct-edit{
  display: block;
}

.layui-layer-struct-text{
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 240px;
  text-indent: 15px;
  line-height: 30px;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  white-space: nowrap;
}

.layui-layer-struct-icon{
  position: absolute;
  top: 0;
  right: 15px;
  bottom: 0;
  width: 30px;
  text-align: right;
  line-height: 30px;
}

.layui-layer-struct-input{
  border: 1px solid rgba(var(--tile-main-color), 1);
}

.layui-layer-struct-select{
  background-color: rgba(var(--tile-main-color), 1);
}

.layui-windows-desk-scroll::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

.layui-windows-desk-scroll::-webkit-scrollbar-track {
  background-color: transparent;
}

.layui-windows-desk-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(var(--tile-highlight-color), 1);
}